//
//  STLReader.h
//  iDent
//
//  Created by Marius Corega on 7/21/09.
//  Copyright 2009 Marius Corega. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "general.h"

@interface STLReader : NSObject {

	char *header[80];
	unsigned long nr_points;
	float *xValue;
	float *yValue;
	float *zValue;
		
	NSMutableArray *_vertex;
}

+(id) stlReaderFromFile:(NSString *) fname;

-(id) initWithData:(NSData *) data;

-(NSMutableArray*) vertex;
-(unsigned long) count;

@end
